#ifndef __CLOCKER_H__
#define __CLOCKER_H__

#include <time.h>

struct clocker_object
{
    int device;
    struct timespec start;
    struct timespec end;
	double duration;
};
int clocker_init(struct clocker_object *clk);
int clocker_start(struct clocker_object *clk);
int clocker_end(struct clocker_object *clk);


#endif//__CLOCKER_H__